﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000F5 RID: 245
	internal class ReadNextBin32 : IReadNextDecoder
	{
		// Token: 0x0600037E RID: 894 RVA: 0x0000C8DA File Offset: 0x0000ACDA
		private ReadNextBin32()
		{
		}

		// Token: 0x0600037F RID: 895 RVA: 0x0000C8E4 File Offset: 0x0000ACE4
		public int Read(byte[] bytes, int offset)
		{
			int num = (int)bytes[offset + 1] << 24 | (int)bytes[offset + 2] << 16 | (int)bytes[offset + 3] << 8 | (int)bytes[offset + 4];
			return num + 5;
		}

		// Token: 0x0400010E RID: 270
		internal static readonly IReadNextDecoder Instance = new ReadNextBin32();
	}
}
